<table class='table table-bordered' width='100%'>
  <tr>
   <td>id</td>
  
 
 
   <td>发布时间</td>
 	<td>内容</td>
<td>操作</td>
  </tr>
 {foreach item=c from=$data}
<tr>
   <td>{$c.id}</td>
 
 
   <td>{$c.dateline|date:Y-m-d}</td>
   <td><div style="width:200px; overflow:hidden;">{$c.content|strip_tags}</div></td>
<td>{if $c.type_id neq 6}<a href="{$appadmin}?m=guest&a=add&id={$c.id}">编辑</a>{/if} <a href="{$appadmin}?m=guest&a=show&id={$c.id}">查看</a> <a href="javascript:;" class="delete" url="{$appadmin}?m=guest&a=delete&id={$c.id}">删除</a></td>
  </tr>
   {/foreach}
 </table>